//
//  DCBaseViewController.h
//  Driver
//
//  Created by 大橙子 on 2018/11/5.
//  Copyright © 2018 Tomous. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
typedef void(^block)(void);
@interface DCBaseViewController : UIViewController
@property (nonatomic,copy) block block;
-(void)setUpBgViewIsShow:(BOOL)isShow block:(block __nullable)block;

//通用按钮
- (UIButton *)buttonWithFrame:(CGRect)frame title:(NSString *)title action:(SEL)action;
@end

NS_ASSUME_NONNULL_END
